• viewsparepartsstoremore.php
  • project /
1 <?php
2 session_start();
3 include(
"header.php");
4 include(
"sidebar.php");
5 include(
"dbconnection.php");
6
7 $sql = mysql_query(
"select * from spareparts where spid='$_GET[sparepartid]'");
8 $row = mysql_fetch_array($sql);
9 ?>
10         
11                             
12         <div id=
"main">
13             
14             <a name=
"TemplateInfo"></a>
15             <h1>View More</h1>
16         <form action=
"viewspareparts.php" method="post" name="form1" id="form1">
17             <table width=
"500", border="0">
18                 <th width=
"169" height="33" scope="row">Spare Part Name</th>
19                 <td width=
"140">
20                   <label
for="fname"></label>
21                   <label
for="custname"></label>
22                   <label
for="sparename"></label>
23                   <label
for="vehname2"></label>
24                   <label
for="empname"></label>
25                <?php echo $row[
'name']; ?></td>
26               </tr>
27               <tr>
28                 <th height=
"33" scope="row">Type
29                   <label
for="lname"></label></th>
30                 <td><label
for="vehname"></label>
31                   <label
for="sparetype"></label>
32                   <label
for="vehname3"></label>
33                 <?php echo $row[
'type']; ?></td>
34               </tr>
35               <tr>
36                 <th height=
"28" scope="row">Cost</th>
37                 <td><p>
38                   <label
for="email"></label>
39                   <label
for="model"></label>
40                   <label
for="vehicleno"></label>
41                   <label
for="spareno"></label>
42                   <label
for="sparename2"></label>
43                   <label
for="model2"></label>
44                   <?php echo $row[
'cost']; ?>
45                 </td>
46               </tr>
47               <tr>
48                 <th height=
"31" scope="row">Number</th>
49                 <td><label
for="password"></label>
50                   <label
for="date"></label>
51                   <label
for="description"></label>
52                   <label
for="brand"></label>
53                  <?php echo $row[
'sparepartno']; ?></td>
54               </tr>
55               <tr>
56                 <th height=
"33" scope="row">Description</th>
57                 <td><label
for="estprice"></label>
58                  <?php echo $row[
'description']; ?></td>
59               </tr>
60               <tr>
61                 <th height=
"36" scope="row">Image</th>
62                 <td><label
for="confpass"></label>
63                   <label
for="images"></label>
64                   <label
for="address"></label>
65                   <label
for="image"></label>
66                   <label
for="images2"></label>
67                   <label
for="images3"></label>
68                   <label
for="file"></label>
69                    <img src=
"upload/<?php echo $row['image']; ?>" width="150" height="150" />
70               </tr>
71               <tr>
72                 <th scope=
"row">&nbsp;</th>
73                 <td><input type=
"submit" name="submit" id="submit" value="Back" /></td>
74               </tr>
75           </table>
76 </form>
77             <p>&nbsp;</p>
78 <br />
79                                             
80         </div>
81         
82 <!-- wrap ends here -->
83 </div>
84         
85 <?php
86 include(
"footer.php");
87 ?>


Gõ tìm kiếm nhanh...